﻿namespace ModbusCollect.entity
{
    public class WriteRequest
    {
        public string Address { get; set; } = "";
        public string DataType { get; set; } = "int16"; // 支持数据类型
        public string Value { get; set; } = ""; // 传字符串，后面转换
        public byte SlaveId { get; set; } = 1;
        public byte FunctionCode { get; set; } = 16;
    }
}
